yum update -y
yum install -y docker
sed -i '18d' /usr/lib/systemd/system/docker.service
sed -i '17a ExecStart=/usr/bin/dockerd-current -H unix:///var/run/docker.sock -H tcp://0.0.0.0:2375 \\' /usr/lib/systemd/system/docker.service
cat <<EOF >> /etc/docker/daemon.json
{
  "registry-mirrors": ["https://2uwdsu2b.mirror.aliyuncs.com"], 
  "live-restore": true 
} 
EOF
systemctl daemon-reload
systemctl restart docker
docker ps

# 安装runlike
yum -y install epel-release
yum -y install python-pip
pip install --upgrade pip 
curl  https://bootstrap.pypa.io/pip/2.7/get-pip.py  -o get-pip.py
python get-pip.py
pip install runlike
rm -rf docker-setenv-new.sh